home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12983 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: mother.usf.edu!news
  2. From: yatesc@csee.usf.edu (Randy Yates)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Getting Rid of BC40RTL.DLL
  5. Date: 22 Mar 1996 15:29:28 GMT
  6. Organization: University of South Florida
  7. Message-ID: <4iuh0o$o0p@mother.usf.edu>
  8. References: <4iik7p$lf5@mother.usf.edu>
  9. NNTP-Posting-Host: ppp166.cfr.usf.edu
  10. Mime-Version: 1.0
  11. X-Newsreader: WinVN 0.93.14
  12.  
  13. In article <4iik7p$lf5@mother.usf.edu>, yatesc@csee.usf.edu says...
  14. >
  15. >I'm developing a Windows 3.x application using Borland C++ 4.0
  16. >(yeah, it's old but it still works!). The app wants to see the
  17. >BC40RTL.DLL loaded. I thought, "Aha! Simply change the libraries
  18. >to "static" in the AppExpert, but alas, that resulted in several
  19. >unresolved externals at link time (namely, all the fstream.h stuff). 
  20. >
  21. >Any pointers would be appreciated. Direct e-mail is welcomed. 
  22. >
  23.  
  24. Well I figured it out and thought some of you might also be interested
  25. to know the answer. 
  26.  
  27. First let me back up and say that I had originally created the
  28. project IDE with dynamic libraries specified. It was after I
  29. had created the executable that I decided I wanted to go back and
  30. change the libraries to static.
  31.  
  32. Apparently, the IDE #defines _RTLDLL when you specify dynamic
  33. libraries, and changing an existing project from static to 
  34. dynamic does not remove this define. 
  35.  
  36. When using the "Edit Local Options" right click option
  37. of the .exe node in the project window, select the compiler
  38. category. In that window you will see "Defines" has _RTLDLL.
  39. Remove it. 
  40.  
  41. [Note: I removed typos in my previous message and subject line.]
  42. -- 
  43. % Randy Yates                  % "...the answer lies within your soul
  44. % EE/Mathematics Student       %       'cause no one knows which side 
  45. % University of South Florida  %                   the coin will fall."
  46. % <yatesc@csee.usf.edu>        %  'Big Wheels', *Out of the Blue*, ELO   
  47.  
  48.